package com.factory.iamp.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleList {
    private int rid;
    private String name;

    RoleList(Role role) {
        this(role.getRid(), role.getName());
    }
}
